/* ========== DISEÑO DEL TÍTULO ========== */

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-title {
    font-size: 3em;
    color: #a0281a;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #092d7a, #ffa162);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1.2s ease-in-out;
}

.faq-underline {
    width: 80px;
    height: 5px;
    background-color: #092d7a;
    margin: 15px auto 0;
    border-radius: 3px;
    animation: growBar 1s ease-in-out;
}


/* Animaciones suaves */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growBar {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}


/* ========== GALERÍA DE PRODUCTOS CON ESTILO ========== */

.productos-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px;
    background-color: #fdfdfd;
    animation: fadeIn 1.2s ease-in-out;
}

.producto-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 15px;
}

.producto-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.producto-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.producto-item:hover img {
    transform: scale(1.05);
}


/* ========== TEXTO DE LAS IMÁGENES CON DEGRADADO ========== */

.producto-desc {
    padding: 10px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 700;
    margin-top: 10px;
    text-transform: capitalize;
    background: linear-gradient(to right, #092d7a, #ffa162);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}


/* ========== CAMBIO DE COLOR EN HOVER ========== */

.producto-item:hover .producto-desc {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #a0281a;
    /* Cambia a rojo elegante */
}


/* ========== RESPONSIVE PARA MÓVILES ========== */

@media (max-width: 768px) {
    .productos-galeria {
        padding: 20px;
        gap: 20px;
    }
    .producto-item img {
        height: 180px;
    }
    .producto-desc {
        font-size: 0.95em;
    }
}